package com.itheima.reggie.service;

import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.Page;

import java.util.List;

public interface DishService {
    Page<DishDto> findByPage(Integer page,Integer pageSize,String name);
    void save(DishDto dishDto);
    void delete(List<Long> ids);
    DishDto findById(long id);
    void update(DishDto dishDto);
    List<DishDto> findAllByCid(Long cid,Integer status);

    void updateStatus(List<Long> ids, Integer status);
}
